<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<body>

    <div id="app">
        <input type="text" v-model="msg">
        <p>hello {{msg}}</p>
    </div>

</body>
<script type="text/javascript">

    // MVVM模型 M:model(data) V:view VM:Vue对象 vm = new Vue()
    // 1016理解: vm 可以理解为view -->vue --> model  model --> vue --> view 数据处理的一个小工具
    const vm = new Vue({
        el: '#app',
        data: {
            msg: 'vue'
        }
    });

</script>
</html>